Skip to content

An embedded wallet born on Ethereum cannot pay for anything here - #231

Merged
0xward merged 1 commit into
mainfrom
claude/nullstate-onchain-text-q6g2a3
Aug 3, 2026
Merged

An embedded wallet born on Ethereum cannot pay for anything here#231
0xward merged 1 commit into
mainfrom
claude/nullstate-onchain-text-q6g2a3

Conversation

@0xward

@0xward 0xward commented Aug 3, 2026

Copy link
Copy Markdown
Owner

The Privy provider never named a chain, so every embedded wallet it mints was created on Ethereum mainnet.

That is the same failure the owner hit in the OKX browser an hour ago, arriving from the other direction: a real wallet, a real key, and the wrong network — so it can neither pay for a Season Pass nor, once season payouts start reaching embedded wallets, be somewhere the money is useful.

defaultChain: celo        the chain an embedded wallet is CREATED on
supportedChains: [celo]   the list an EXTERNAL wallet is asked to be in

Both, because the gate offers both kinds of sign-in and neither should land somewhere the game cannot transact.

celo is imported from viem/chains — the same object lib/WagmiIsland.tsx hands wagmi — so the two halves of the app cannot drift onto different ideas of which network this game runs on.

This is a prerequisite, not the whole thing

Paying through Privy needs one more piece, and it is a product decision rather than a code one: a fresh embedded wallet holds nothing. Buying a $1 item means transferring $1 of real USDT to the treasury. Gas sponsorship would not help — that covers the fee, not the price.

Raised for the owner rather than guessed at.

Testing

✓ 24/24 test:privy   ✓ tsc clean   ✓ build 142/242 kB (unchanged)
✓ check:copy         ✓ lint 35

Generated by Claude Code

The Privy provider never named a chain, so every embedded wallet it mints was
created on Ethereum mainnet. That is the same failure the owner hit in the OKX
browser an hour ago, arriving from the other direction: a real wallet, a real
key, and the wrong network — so it can neither pay for a Season Pass nor, once
season payouts start reaching embedded wallets, be somewhere the money is
useful.

    defaultChain: celo      the chain an embedded wallet is CREATED on
    supportedChains: [celo] the list an EXTERNAL wallet is asked to be in

Both, because the gate offers both kinds of sign-in and neither should land
somewhere the game cannot transact.

`celo` is imported from viem/chains — the same object lib/WagmiIsland.tsx hands
wagmi — so the two halves of the app cannot drift onto different ideas of which
network this game runs on.

This is a prerequisite for paying through Privy, not the whole of it: a fresh
embedded wallet still holds nothing, and buying a $1 item means transferring $1
of real USDT. The funding question is the owner's to answer and is not decided
here.

Verified: tsc clean, build unchanged at 142/242 kB, 24/24 test:privy,
check:copy clean, lint 35.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017A764RdnwpyWnG7uCNhMiQ
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nullstate Ready Ready Preview Aug 3, 2026 6:49am

@0xward
0xward merged commit bbbb3d9 into main Aug 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant